package D240523.Timer;

public class Timer {

    public static void getTime(StringSplicing stringSplicing){
        long start = System.nanoTime();
        stringSplicing.builderAppendSplice();
        long over = System.nanoTime();
        System.out.println("总用时:" + (over - start) / 1000000.0 + "ms");
    }
}
